﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel_Project.Bean
{
    /// <summary>
    /// Sql语句库(这个类应该有配置文件进行写入的)
    /// </summary>
    /// <param name="MYSQL_CONNAND">建立连接字符串(可将它写到配置文件中)</param>
    /// <param name="MYSQL_SELECT_st">查询st数据库(可将它写到配置文件中)</param>
    public class MySqlString
    {
        //建立连接字符串(可将它写到配置文件中)
        public const string MYSQL_CONNAND = "server=192.168.0.56;user=xxxx;database=hotel;port=3306;password=123456";
        //查询st数据库(可将它写到配置文件中)
        public const string MYSQL_SELECT_st = "SELECT * FROM `menubar`";
        //查询工具栏数据库
        public const string MYSQL_SELECT_toolbar= "SELECT * FROM `toolbar`";
        //查询客人数据库
        public const string MYSQL_SELECT_guestinfo = "SELECT * FROM guestinfo";
    }
}
